#@backend_layout()
<!-- Main content wrapper -->
#define content()
<!-- Main content wrapper -->
<div class="wrapper">
    <div class="statsRow">
        <div class="wrapper">
            <div class="controlB">
                <ul>
                    <li><a href="/backend/article/add/columnId=#(columnId)" title=""><img
                            src="/bes/images/icons/control/32/plus.png"
                            alt=""/><span>新闻</span></a></li>
                </ul>
                <div class="clear"></div>
            </div>
        </div>
    </div>
    <!-- Dynamic table -->
    <div class="widget">
        <div class="title"><span class="titleIcon"><div class="checker" id="uniform-titleCheck"></div></span><h6>
            新闻列表</h6></div>
        <table cellpadding="0" cellspacing="0" width="100%" class="sTable withCheck mTable" id="checkAll">
            <thead>
            <tr>
                <td><img src="/bes/images/icons/tableArrows.png" alt=""></td>
                <td class="sortCol header">
                    <div>标题<span></span></div>
                </td>
                <td class="sortCol header">
                    <div>发表日期<span></span></div>
                </td>
                <td>所属栏目</td>
                <td>操作</td>
            </tr>
            </thead>
            <tfoot>

            </tfoot>
            <tbody>
            #for(article : articlePage.list)
            <tr>
                <td>#(for.index+1)</td>
                <td><a href="/article/detail?id=#(article.id)" target="_blank" title="">#(article.title)</a></td>
                <td align="center">#(article.createTime)</td>
                <td class="fileInfo">
                    #for(show: session.admin_column)
                    #if(show.column.id == article.columnId)
                    #(show.column.title)
                    #end
                    #end

                </td>
                <td class="actBtns"><a class="button blueB" href="/backend/article/edit?id=#(article.id)"
                                       original-title="编辑"><span>修改</span></a>&nbsp;<a
                        href="/backend/article/del?id=#(article.id)" class="button blueB" original-title="Remove"><span>删除</span></a>
                </td>
            </tr>
            #end
            </tbody>
        </table>
    </div>
    #@backend_paginate(articlePage.pageNumber,articlePage.totalPage,"/backend/article/","")
</div>
</div>
#end